﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ajax_san_ntv_ds_cho_pv.aspx.cs" Inherits="web_pages_ajax_san_ntv_ds_cho_pv" %>

<%@ OutputCache Duration="1" VaryByParam="None" %>
<div style="height: 400px; overflow: scroll; overflow-x: hidden;" id="main_load">
    <table width="100%">
        <%
            for (int i = 0; i < resdtt.Rows.Count; i++)
            {
         %>
        <tr >
            <td style="width: 70px;border-bottom:#ccc 1px dotted;">
             <%
                 if (sanComm.KetquaSan(ma_san, resdtt.Rows[i]["ma_ho_so"].ToString(), ma_ntv))
                 { 
                    %>
             <a href="javascript:KetQuaPV('<%=ma_san %>','<%=ma_ntv %>','<%=resdtt.Rows[i]["ma_ho_so"].ToString() %>','<%=resdtt.Rows[i]["ma_doanh_nghiep"].ToString() %>')"><i> [Kết Quả] </i></a>  
            <%
                 }else{
             %>  
             <b> [Chưa có kết quả] </b>
             <%
             }
              %>
             
               <%= resdtt.Rows[i]["ma_ho_so"].ToString() %> 
            </td>
            <td style="width: 200px;border-bottom:#ccc 1px dotted;">
            <%= resdtt.Rows[i]["vi_tri_tuyen_dung"].ToString() %>
            </td>
            <td style="border-bottom:#ccc 1px dotted;" >
            <a href="javascript:void(0);" onclick="viewTuyenDung('<%= resdtt.Rows[i]["ma_ho_so"].ToString() %>');" ><img src="../images/icons/067-search_next.png"  style="border:0px;vertical-align:middle" />
             <%= resdtt.Rows[i]["tieu_de_ho_so"].ToString() %> 
             </a>
            
            </td>
            <td style="width: 180px;border-bottom:#ccc 1px dotted;">
            <%= NhaTuyenDungCommon.getTenDoanhNghiep( resdtt.Rows[i]["ma_doanh_nghiep"].ToString()) %>
            </td>
        </tr>
        <%
            }
         %>
    </table>
</div>